package com.fanglin.approval.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import static javax.persistence.GenerationType.IDENTITY;

@Entity
@Table(name = "approvalsalesrefund", catalog = "approval")
public class ApprovalSalesRefundPO implements java.io.Serializable {

	private static final long serialVersionUID = 2272182475271119881L;

	public static final String COLUMN_AID_STR = "aid";

	private long asrid;

	private long aid;

	private long sid;

	private float refund;

	private short type;

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "asrid")
	public long getAsrid() {
		return this.asrid;
	}

	public void setAsrid(long asrid) {
		this.asrid = asrid;
	}

	@Column(name = "aid")
	public long getAid() {
		return this.aid;
	}

	public void setAid(long aid) {
		this.aid = aid;
	}

	@Column(name = "sid")
	public long getSid() {
		return this.sid;
	}

	public void setSid(long sid) {
		this.sid = sid;
	}

	@Column(name = "refund")
	public float getRefund() {
		return this.refund;
	}

	public void setRefund(float refund) {
		this.refund = refund;
	}

	@Column(name = "type")
	public short getType() {
		return this.type;
	}

	public void setType(short type) {
		this.type = type;
	}

}
